function [ph, frep] = getDoppler(config, tMeasure)
    if config.doppler.type == "const"
        ph =  2 * pi * config.doppler.bias * tMeasure;
        frep = config.doppler.bias * ones(size(tMeasure));
    elseif config.doppler.type == "rate"
        frep = config.doppler.bias  + config.doppler.rate * tMeasure;
        ph = 2 * pi * (config.doppler.bias * tMeasure + 0.5 * config.doppler.rate * tMeasure.^2);
    end
end 